<!DOCTYPE html>
<html>
<head>
	<title>用户{{ action }} - The ONE 智能钢琴教室</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0">
	<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/wechat/style.css') }}">
</head>
<body>
	<header>
		<h1>The ONE 智能钢琴教室</h1>
		<h1>用户{{ action }}</h1>
	</header>
	<article>
		{% with messages = get_flashed_messages(with_categories=true) %}
		{% if messages %}
		{% for category, message in messages %}
		<div class="hidden {{ category }}">{{ message }}</div>
		{% endfor %}
		{% endif %}
		{% endwith %}
		<form method="post">
			<div class="form-group">
				<label>用户名：</label>
				<input type="text" class="form-control" name="username" />
			</div>
			<div class="form-group">
				<label>密 码：</label>
				<input type="password" class="form-control" name="password" />
			</div>
			<div class="form-group">
				<input type="hidden" name="openid" value="{{ openid }}" />
			</div>
			<button>{{ action }}</button>
		</form>
	</article>
</body>
</html>
